package com.lost.octopus.es.processor.scheduler;

import com.lost.octopus.es.processor.config.es.alias.AliasElasticsearchRepository;
import com.lost.octopus.es.processor.dao.mapper.mybatis.BaseAsyncMapper;
import com.lost.octopus.es.processor.entity.IdEntity;

/**
 * 索引自增ID操作者
 * 声明其中的操作ID是Integer类型
 * @author zhangbh
 * 2022-12-14 09:48
 **/
public abstract class EsSyncIntIndexOperator<
    T extends IdEntity<Integer>,
    A extends BaseAsyncMapper<T>,
    E extends AliasElasticsearchRepository<T, Integer>> extends EsSyncIndexOperator<T, Integer, A, E> {

    @Override
    public Class<Integer> idType() {
        return Integer.class;
    }
}
